Optimal. Leaf size=348 \[ \frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{c x-1} \sqrt{c x+1}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{c x-1} \sqrt{c x+1}}+\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2 d}-\frac{2 b^2 d \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{125 c^2 (1-c x) (c x+1)}-\frac{8 b^2 d \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{225 c^2 (1-c x) (c x+1)}-\frac{16 b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{75 c^2 (1-c x) (c x+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.554161, antiderivative size = 361, normalized size of antiderivative = 1.04, number of steps used = 8, number of rules used = 8, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.296, Rules used = {5798, 5718, 194, 5680, 12, 520, 1247, 698} \[ \frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{c x-1} \sqrt{c x+1}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{c x-1} \sqrt{c x+1}}+\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{d (1-c x)^2 (c x+1)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{2 b^2 d \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{125 c^2 (1-c x) (c x+1)}-\frac{8 b^2 d \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{225 c^2 (1-c x) (c x+1)}-\frac{16 b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{75 c^2 (1-c x) (c x+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5718
Rule 194
Rule 5680
Rule 12
Rule 520
Rule 1247
Rule 698
Rubi steps
\begin{align*} \int x \left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int x (-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}+\frac{\left (2 b d \sqrt{d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right )^2 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{5 c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{\left (2 b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}} \, dx}{5 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{\left (2 b^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{75 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{\left (2 b^2 d \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt{-1+c^2 x^2}} \, dx}{75 (-1+c x) (1+c x)}\\ &=\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{\left (b^2 d \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{15-10 c^2 x+3 c^4 x^2}{\sqrt{-1+c^2 x}} \, dx,x,x^2\right )}{75 (-1+c x) (1+c x)}\\ &=\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}-\frac{\left (b^2 d \sqrt{-1+c^2 x^2} \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \left (\frac{8}{\sqrt{-1+c^2 x}}-4 \sqrt{-1+c^2 x}+3 \left (-1+c^2 x\right )^{3/2}\right ) \, dx,x,x^2\right )}{75 (-1+c x) (1+c x)}\\ &=-\frac{16 b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}}{75 c^2 (1-c x) (1+c x)}-\frac{8 b^2 d \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2}}{225 c^2 (1-c x) (1+c x)}-\frac{2 b^2 d \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2}}{125 c^2 (1-c x) (1+c x)}+\frac{2 b d x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{4 b c d x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b c^3 d x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{d (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{5 c^2}\\ \end{align*}
Mathematica [A] time = 0.496966, size = 208, normalized size = 0.6 \[ -\frac{d \sqrt{d-c^2 d x^2} \left (225 a^2 \left (c^2 x^2-1\right )^3-30 a b c x \sqrt{c x-1} \sqrt{c x+1} \left (3 c^4 x^4-10 c^2 x^2+15\right )-30 b \cosh ^{-1}(c x) \left (b c x \sqrt{c x-1} \sqrt{c x+1} \left (3 c^4 x^4-10 c^2 x^2+15\right )-15 a \left (c^2 x^2-1\right )^3\right )+2 b^2 \left (9 c^6 x^6-47 c^4 x^4+187 c^2 x^2-149\right )+225 b^2 \left (c^2 x^2-1\right )^3 \cosh ^{-1}(c x)^2\right )}{1125 c^2 \left (c^2 x^2-1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.382, size = 1270, normalized size = 3.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.17623, size = 375, normalized size = 1.08 \begin{align*} -\frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}} b^{2} \operatorname{arcosh}\left (c x\right )^{2}}{5 \, c^{2} d} - \frac{2}{1125} \, b^{2}{\left (\frac{9 \, \sqrt{c^{2} x^{2} - 1} c^{2} \sqrt{-d} d^{2} x^{4} - 38 \, \sqrt{c^{2} x^{2} - 1} \sqrt{-d} d^{2} x^{2} + \frac{149 \, \sqrt{c^{2} x^{2} - 1} \sqrt{-d} d^{2}}{c^{2}}}{d} - \frac{15 \,{\left (3 \, c^{4} \sqrt{-d} d^{2} x^{5} - 10 \, c^{2} \sqrt{-d} d^{2} x^{3} + 15 \, \sqrt{-d} d^{2} x\right )} \operatorname{arcosh}\left (c x\right )}{c d}\right )} - \frac{2 \,{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}} a b \operatorname{arcosh}\left (c x\right )}{5 \, c^{2} d} - \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}} a^{2}}{5 \, c^{2} d} + \frac{2 \,{\left (3 \, c^{4} \sqrt{-d} d^{2} x^{5} - 10 \, c^{2} \sqrt{-d} d^{2} x^{3} + 15 \, \sqrt{-d} d^{2} x\right )} a b}{75 \, c d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.27358, size = 801, normalized size = 2.3 \begin{align*} -\frac{225 \,{\left (b^{2} c^{6} d x^{6} - 3 \, b^{2} c^{4} d x^{4} + 3 \, b^{2} c^{2} d x^{2} - b^{2} d\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right )^{2} - 30 \,{\left (3 \, a b c^{5} d x^{5} - 10 \, a b c^{3} d x^{3} + 15 \, a b c d x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 30 \,{\left ({\left (3 \, b^{2} c^{5} d x^{5} - 10 \, b^{2} c^{3} d x^{3} + 15 \, b^{2} c d x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 15 \,{\left (a b c^{6} d x^{6} - 3 \, a b c^{4} d x^{4} + 3 \, a b c^{2} d x^{2} - a b d\right )} \sqrt{-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) +{\left (9 \,{\left (25 \, a^{2} + 2 \, b^{2}\right )} c^{6} d x^{6} -{\left (675 \, a^{2} + 94 \, b^{2}\right )} c^{4} d x^{4} +{\left (675 \, a^{2} + 374 \, b^{2}\right )} c^{2} d x^{2} -{\left (225 \, a^{2} + 298 \, b^{2}\right )} d\right )} \sqrt{-c^{2} d x^{2} + d}}{1125 \,{\left (c^{4} x^{2} - c^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]